package drds.data_propagate.parse;

import drds.data_propagate.binlog.BinLogEvent;
import drds.data_propagate.binlog.Buffer;
import drds.data_propagate.parse.table_meta_data.TableMetaData;
import drds.propagate.protocol.Entry;

class MessageEvent {

    private Buffer buffer;
    private Entry entry;
    private boolean needDmlParse = false;
    private TableMetaData tableMetaData;
    private BinLogEvent binLogEvent;

    public Buffer getBuffer() {
        return buffer;
    }

    public void setBuffer(Buffer buffer) {
        this.buffer = buffer;
    }

    public BinLogEvent getBinLogEvent() {
        return binLogEvent;
    }

    public void setBinLogEvent(BinLogEvent binLogEvent) {
        this.binLogEvent = binLogEvent;
    }

    public Entry getEntry() {
        return entry;
    }

    public void setEntry(Entry entry) {
        this.entry = entry;
    }

    public boolean isNeedDmlParse() {
        return needDmlParse;
    }

    public void setNeedDmlParse(boolean needDmlParse) {
        this.needDmlParse = needDmlParse;
    }

    public TableMetaData getTableMetaData() {
        return tableMetaData;
    }

    public void setTableMetaData(TableMetaData tableMetaData) {
        this.tableMetaData = tableMetaData;
    }

}
